﻿using System;
using DelonixRegiaHMSys.Core.Interfaces;
using DelonixRegiaHMSys.Core.Services;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Telerik.JustMock;

namespace DelonixRegiaHMSys.UnitTest.ReportingModule
{
    [TestClass]
    public class Item
    {
        [TestMethod]
        public void GetAllItem()
        {
            var mockReportQuery = Mock.Create<IReportQuery>();

            var reservice = new reServices(mockReportQuery);

            reservice.GetAllItem("");

            Mock.Assert(() => mockReportQuery.GetAllItem(Arg.IsAny<string>()));
        }
    }
}
